Bitly API Introduction
https://dev.bitly.com/docs/getting-started/introduction/
Glossary of Bitly terminology
access tokenを発行する
https://app.bitly.com/settings/api/
アカウントのパスワードが必要となった
使い方:ヘッダーにAuthorization: Bearer {token}
POST /v4/shorten
A successful response will return the shortened link in the link object.
👉 Shorten a Link (Bitly API Reference)
この例ではhttps://dev.bitly.com/を短縮しているが、bitly.comドメインはブランディングの一環でbitly.isに短縮されるらしい
domainを指定できない
Web UIでも「Customize back half」が無効
知ったきっかけ:PythonからbitlyのWebAPIを使って、URLを短縮する